import axios from '@/utils/axioszw'

export function quickBind(data) {
	
	return axios({
		url: '/am/api/am/command/quickBindV2',
		method: 'post',
		data: data,

	})
}

export function tongji(data) {
	return axios({
		url: '/am/api/am/command/prepare',
		method: 'post',
		data: data,

	})
}
export function status(data) {
	return axios({
		url: '/am/api/associateMember/command/preCheck',
		method: 'post',
		data: data,

	})
}
export function sendSms(data) {
	return axios({
		url: '/api/Clb/sendSms',
		method: 'post',
		data: data,

	})
}
export function placeOrder(data) {
	return axios({
		url: '/api/Clb/placeOrder',
		method: 'post',
		data: data,

	})
}
export function register(data) {
	return axios({
		url: '/uaa/api/app/auth/register',
		method: 'post',
		data: data,

	})
}
export function signOrder(data) {
	return axios({
		url: '/am/api/associateMember/command/signOrder',
		method: 'post',
		data: data,

	})
}
export function getuser(data) {
	return axios({
		url: '/api/wechat/mp/user/authorizeUserInfo',
		method: 'post',
		data: data,

	})
}
export function getJumpUrl(data) {
	return axios({
		url: '/uaa/api/wechat/ma/url/getJumpUrl',
		method: 'post',
		data: data,

	})
}
export function generateToken(data) {
	return axios({
		// url: '/api/risk/limit/command/generateToken',
		url: '/am/api/am/command/generateToken',
		method: 'post',
		data: data,

	})
}
export function getChannelEncryptionInfo(data) {
	return axios({
		url: '/base/api/channel/getChannelEncryptionInfo',
		method: 'get',
		data: data,

	})
}

export function signOrder2(data) {
	return axios({
		url: '/am/api/am/command/encrypt/signOrder',
		method: 'post',
		data: data,

	})
}
export function query(data) {
	return axios({
		url: 'am/api/ispArea/query/' + data,
		method: 'get',
		data: data,

	})
}
export function authorizeMobile(data) {
	return axios({
		url: '/uaa/api/alipay/life/user/authorizeMobile',
		method: 'post',
		data: data,

	})
}
export function addInformation(data) {
	return axios({
		url: '/live/api/threeIncome/order/fcs/addInformation',
		method: 'post',
		data: data,		
	})
}
export function getAlternateProductInfo(data) {
	//鑾峰彇鍏滃簳
	return axios({
		url: '/alternate/api/alternate/query/getAlternateProductInfo',
		method: 'post',
		data: data,

	})
}
export function save(data) {
	//键值对映射数据保存
	return axios({
		url: '/base/api/app/mapping/storage/saveOrUpdate',
		method: 'post',
		data: data,

	})
}
export function saveFastAppUrl(data) {
	return axios({
		url: '/base/api/fast/app/saveFastAppUrl',
		method: 'post',
		data: data,		
	})
}
export function supportsFastApp(data) {
	return axios({
		url: '/base/api/user/agent/supportsFastApp',
		method: 'post',
		data: data,		
	})
}
export function getSignConfig(data) {
	return axios({
		url: '/uaa/api/wechat/mp/getSignConfig',
		method: 'post',
		data: data,		
	})
}
export function queryByCode(data) {
	return axios({
		url: '/base/api/app/mapping/storage/queryByCode',
		method: 'post',
		data: data,		
	})
}
export function getAuditLink(data) {
	//获取审核链接
	return axios({
		url: '/base/api/productLinkConfig/getAuditLink',
		method: 'post',
		data: data,		
	})
}
export function oldSystemData(data) {
	//流量统计
	return axios({
		url: '/am/api/sync/oldSystemData/syncFlowStatisticsData',
		method: 'post',
		data: data,		
	})
}
export function getlocal(data) {
	//获取经纬度的位置
	return axios({
		url: '/am/api/am/command/judgmentLongitudeAndLatitude ',
		method: 'post',
		data: data,		
	})
}

export function decryptMobile(data) {
	return axios({
		url: '/api/alipay/ma/user/decryptMobile',
		method: 'post',
		data: data,

	})
}
